package cn.cai.pethome.user.domain;


import cn.cai.pethome.base.domain.BaseDomain;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaocai
 * @since 2022-08-31
 */
@Data
public class User extends BaseDomain {

    private static final long serialVersionUID = 1L;

    private String username;
    private String email;
    private String phone;
    /**
     * 盐值
     */
    private String salt;
    /**
     * 密码，md5加密加盐
     */
    private String password;
    /**
     * 已注册 已激活 禁用
     */
    private Integer state=1;
    private Integer age;
    private Date createtime = new Date();//设置当前时间
    private String headImg;//头像地址

    private Long logininfo_id;





}
